package com.learn.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * Description
 *
 * @author zhaohongyu
 * @ClassName LUserAnswer
 * @date 2021.04.14 15:02
 * @describe 用户答题情况
 */
@TableName("l_user_answer")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LUserAnswer对象", description="用户答题情况表")
public class LUserAnswer implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "user_answer_id", type = IdType.AUTO)
    private Integer userAnswerId;

    @ApiModelProperty(value = "用户考试id")
    @TableField("exam_user_id")
    private Integer examUserId;

    @ApiModelProperty(value = "试题id")
    @TableField("questions_id")
    private Integer questionsId;

    @ApiModelProperty(value = "用户答案")
    @TableField("user_answer")
    private String userAnswer;

    @TableField(exist = false)
    private String questionsAnswer;

    @TableField(exist = false)
    private String answerType;

    @TableField(exist = false)
    private String questionsExplain;

    public String getQuestionsExplain() {
        return questionsExplain;
    }

    public void setQuestionsExplain(String questionsExplain) {
        this.questionsExplain = questionsExplain;
    }

    public String getAnswerType() {
        return answerType;
    }

    public void setAnswerType(String answerType) {
        this.answerType = answerType;
    }

    public String getQuestionsAnswer() {
        return questionsAnswer;
    }

    public void setQuestionsAnswer(String questionsAnswer) {
        this.questionsAnswer = questionsAnswer;
    }

    public Integer getUserAnswerId() {
        return userAnswerId;
    }

    public void setUserAnswerId(Integer userAnswerId) {
        this.userAnswerId = userAnswerId;
    }

    public Integer getExamUserId() {
        return examUserId;
    }

    public void setExamUserId(Integer examUserId) {
        this.examUserId = examUserId;
    }

    public Integer getQuestionsId() {
        return questionsId;
    }

    public void setQuestionsId(Integer questionsId) {
        this.questionsId = questionsId;
    }

    public String getUserAnswer() {
        return userAnswer;
    }

    public void setUserAnswer(String userAnswer) {
        this.userAnswer = userAnswer;
    }
}
